#include "RGB.h"
#include <rtthread.h>
#include <rtdevice.h>
#include <board.h>
#include "offline.h"


#define LOG_TAG "main"
#define LOG_LVL LOG_LVL_DBG
#include <ulog.h>

int main(void)
{
    while (1)
    {   if (offline_manage[SYSTEM_PROTECT].online_state==STATE_ONLINE)
        {
            aRGB_led_show(LED_Green);
        }
        else {
            aRGB_led_show(LED_Red);
        }
        rt_thread_mdelay(10000);
    }
}
